package com.health.userbackstage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.health.userbackstage.mapper.CheckGroupMapper;
import com.health.userbackstage.pojo.CheckGroup;
import com.health.userbackstage.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CheckGroupService extends IService<CheckGroup> {


    public List<CheckGroup> findAll();


    public int update(CheckGroup checkGroup);

    public int add(CheckGroup checkGroup);

    public boolean del(Integer id);

    public PageInfo<CheckGroup> findPage(int pageNum, int pageSize);

    public List<Integer> findciid(Integer cgid);

    public CheckGroup selectOneByCode(CheckGroup checkGroup);

    public CheckGroup selectOneByName(CheckGroup checkGroup);

    public CheckGroup selectOneByHelpCode(CheckGroup checkGroup);



}
